﻿using Fleck;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace server
{
    class Program
    {
        static void Main(string[] args)
        {
            SocketServer server = new SocketServer();
            server.Init();
            server.Start();

            var input = Console.ReadLine();
            while (input != "exit")
            {
                server.SendAll(input);
                input = Console.ReadLine();
            }
        }
    }
}
